package com.unpay.skb.requests;

import com.unpay.skb.responses.FourElementResponse;
import com.unpay.skb.util.Config;

/**
 * 四要素检测
 */
public class FourElementRequest extends UnpayRequest<FourElementResponse>{
    private String txnType="01";//固定填写01
    private String accNo;//持卡人银行卡号
    private String idNo;//持卡人身份证号
    private String idName;//持卡人姓名
    private String phoneNo;//持卡人手机号
    private String proxyCode= Config.instance().getProxyCode();//中付分配的代理账号

    public String getTxnType() {
        return txnType;
    }

    public void setTxnType(String txnType) {
        this.txnType = txnType;
    }

    public String getAccNo() {
        return accNo;
    }

    public void setAccNo(String accNo) {
        this.accNo = accNo;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getIdName() {
        return idName;
    }

    public void setIdName(String idName) {
        this.idName = idName;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getProxyCode() {
        return proxyCode;
    }

    @Override
    public Class<FourElementResponse> responseClass() {
        return FourElementResponse.class;
    }
}
